package com.vfmall.service;

import com.vfmall.dto.EmployeeDTO;
import com.vfmall.dto.EmployeeLoginDTO;
import com.vfmall.dto.EmployeePageQueryDTO;
import com.vfmall.entity.Employee;
import com.vfmall.result.PageResult;
import org.springframework.stereotype.Service;


public interface EmployeeService {

    /**
     * 员工登录
     * @param employeeLoginDTO
     * @return
     */
    Employee login(EmployeeLoginDTO employeeLoginDTO);
    void save(EmployeeDTO employeeDTO);
    public PageResult PageQuery(EmployeePageQueryDTO employeePageQueryDTO);
    public void startOrStop( Integer status,Long id);
    public void update(EmployeeDTO employeeDTO);
    Employee getById(Long id);
}
